home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
raytrace
/
rayshade
/
ryshd40n.lha
/
Examples
/
planet.ray
< prev
next >
Wrap
Text File
|
1992-02-09
|
467b
|
24 lines
/*
* "planet" input file to demonstrate fbm texture and use of cpp
* C. Kolb
*/
#define EXPAND(x) scale x x x
#define LACUNARITY 2.
#define OCTAVES 6
screen 256 256
light 1.0 0.9 0.8 directional 1. -1. 1.
eyep 0. -4. 0.
sphere ambient .06 .05 .04
diffuse .9 .85 .8
1.0 0 0 0
texture fbm 0. /* offset */
1. /* scale */
0.3 /* h */
LACUNARITY /* lambda */
OCTAVES /* octaves */
-.2 /* thresh */
planet.map /* mapname */
EXPAND(0.7)